<?php

switch($_SESSION['language'])
{
	case "es": 	$langLink = "spanish"; break;
	case "en": 	$langLink = "english"; break;
	default: 	
		{
			// If there's no session set, I play "es" by default.
			$langLink = "spanish"; 
			$_SESSION['language'] = "es";
			
			// Initialize the default section.
			$_SESSION['section'] = "about";
			$_SESSION['content'] = "languages/contents/about_es.php";
		}
		break;
}

	
$link = "__".$langLink.".php";

// Require the proper translation script file.
require_once($link);

?>